#################################################
#    MAKEFILE FOR PCOMUNICATOR STATIC LIB	#
#						#
# Autor: Marek Szanyi				#
# Date:  17.1.2010				#
#						#
#################################################

# source code files
SOURCE_FILES = ./src/DataContainer.cpp ./src/IDataContainer.cpp ./src/PConvertor.cpp ./src/PFileInfo.cpp ./src/Tools.cpp

# object files
OBJ_FILES = $(SOURCE_FILES:%.cpp=%.o)

# default rule
all	: ./lib/libPComunicator.a

# remove the old lib and create the new one
./lib/libPComunicator.a: $(OBJ_FILES)
	rm -f $@
	ar cq $@ $(OBJ_FILES)